package com.hn658.base.message.eventbus.event.singlechat;

import com.hn658.base.message.common.enums.EventPriority;
import com.hn658.base.message.common.enums.EventType;
import com.hn658.base.message.eventbus.event.Event;
import com.hn658.base.message.notification.msg.entity.MessageEO;

/**
 * 普通私聊
 * Created by baihai on 2015/11/19.
 */
public class SingleMsgEvent extends Event{

	private static final long serialVersionUID = -2122004276521451955L;
	
	/**
     * 私信
     */
    private MessageEO message;


    public SingleMsgEvent(){}

    public SingleMsgEvent(EventType type, EventPriority priority,
                                String appId){
        super(type,priority,appId);
    }

    public MessageEO getMessage() {
        return message;
    }

    public void setMessage(MessageEO message) {
        this.message = message;
    }
}
